
				<table cellpadding="0" cellspacing="0" width="100%">
					<tr>
						<td background="images/menu_up.gif" width="200" height="29" align="center" class="title">
						Авторизация
						</td>
					</tr>
					<tr>
						<td background="images/menu_c.gif" width="200" style="padding-top:10px;padding-right:10px;padding-left:10px;padding-bottom:10px" class="all">
							<table cellpadding="0" cellspacing="0" width="100%" class="all">
   {if $moto_login == 0}
<form action="forum/login.php" method="post">
  <tr>
			<td width="45%" align="right"><span class="gen">Имя: </span></td>
			<td>
			  &nbsp;<input type="text" name="username" size="15" maxlength="40" value="" />
			</td>
		  </tr>
		  <tr>
			<td align="right"><span class="gen">Пароль:</span></td>
			<td>
			  &nbsp;<input type="password" name="password" size="15" maxlength="32" />
			</td>
		  </tr>
		  <tr align="right">
			<td colspan="2"><span class="gen">Запомнить меня: <input type="checkbox" name="autologin" /></span></td>
		  </tr>
		  <tr align="right">
			<td colspan="2"><input type="hidden" name="redirect" value="moto_redirect.php?lpage={$sitepage}" /><input type="submit" name="login" class="mainoption" value="Вход" /></td>
		  </tr>
		  </form>
		  <tr align="center">
			<td colspan="2"><br><span class="gensmall"><a href="forum/profile.php?mode=register" class="gensmall">Регистрация</a></span></td>
		  </tr>
  		  <tr align="center">
			<td colspan="2"><span class="gensmall"><a href="forum/profile.php?mode=sendpassword" class="gensmall">Забыли пароль?</a></span></td>
		  </tr>
   {else}
   <tr><td>
      <div style="width:75%;display:inline;">Привет, {$moto_username}!</div><div style="width:25%;display:inline;"><a href="logout.php?logout=true&lpage=1&sid={$moto_sid}" class="href6_a">выход</a></div>
	  <br>
</td></tr>
   {/if}
	</td>
							</tr>
						</table>		
						</td>
					</tr>
					<tr>
						<td background="images/menu_down.gif" width="200" height="10">
						</td>
					</tr>
				</table>		

<div style="padding-top:10px"></div>
<!-- СОЦСЕТИ -->
<div style="padding-top:10px"></div>


				<table cellpadding="0" cellspacing="0" width="100%">
					<tr>
						<td background="images/menu_up.gif" width="200" height="29" align="center" class="title">
						Мы в соцсетях
						</td>
					</tr>
					<tr>
						<td background="images/menu_c.gif" width="200" style="padding-top:10px;padding-right:10px;padding-left:10px;padding-bottom:10px" class="all">




<a href="http://vk.com/motolife_mk_ua" target="blank"><img src="../images/vk.jpg" border="0" title="Вконтакте" /></img>


	
						</td>
					</tr>
					<tr>
						<td background="images/menu_down.gif" width="200" height="10">
						</td>
					</tr>
				</table>		